package com.test.lucene;

/**
 * This exception is thrown when an operation fails, but can be retried.
 * <p>
 * e.g. If an attempt to get a lock fails, the operation can be retried.
 * 
 * @author Patrick Kimber
 */
public class LuceneRetryException extends LuceneException {

    /** To allow the class to be serialised. */
    private static final long serialVersionUID = 1616362857460506908L;

    /**
     * Constructor.
     * 
     * @param msg
     *            for the exception.
     */
    public LuceneRetryException(final String msg) {
        super(msg);
    }

    /**
     * Constructor.
     * 
     * @param cause
     *            The cause of the exception.
     */
    public LuceneRetryException(final Throwable cause) {
        super(cause);
    }

    /**
     * Constructor.
     * 
     * @param msg
     *            for the exception.
     * @param cause
     *            The cause of the exception.
     */
    public LuceneRetryException(final String msg, final Throwable cause) {
        super(msg, cause);
    }
}
